//我的订单—退款订单
exports.order_refund = function (req, res) {

    var restfulParams = req.routeInfo.restfulParams;
    //最终结果
    var resultData = {};

    //任务流创建
    async.waterfall([
            function (cb) {
                R.SEND_HTTP(
                    req,
                    {
                        url: CORE_APIConfig.coreAPI.search_order + "/o_oid/" + restfulParams.organization_id + "/o_is_refund/1",
                        method: 'POST',
                        data: {
                            fields: ["o_id", "o_no", "o_old_price", "o_course_name", "o_course_pic", "o_type", "o_new_price", "o_name", "o_pay_money", "o_phone", "o_refund_dec", "o_refund_reason"].join(",")
                        }
                    },
                    function (err, data) {
                        //判断是否有错误信息
                        if (err) {
                            return cb(err, data);
                        }

                        resultData.refundOrderData = data.data;

                        cb();
                    }
                );

            }
        ], function (err, result) {

            //返回最终拼接结果
            RES.response(res, true, resultData);

        }
    );

};